Part Number Hot Search : 
27000 15015 SP8127N RG306 044082 01208 5KE200 APC14131
Product Description
Full Text Search
 

To Download DS1501YZ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 22 19 - 6820; rev 10/13 note: some revisions of this device may incorporate deviations from published specifications known as err ata. multiple revisions of any device may be simultaneously available through various sales channels. for information about device errata, click here: www.maximintegrated.com/errata . general description the ds1501/ds1511 are full - function, year 2000 - compliant real - time clock/calendars (rtcs) with an rtc alarm, watchdog timer, power - on reset, battery monitors, 256 bytes nv sram, and a 32.768khz output. user access to all registers within the ds1501/ds1511 is accomplished with a byte - wide interface, as shown in figure 8 . the rtc registers contain century, year, month, date, day, hours, minutes, and seconds data in 24 - hour binary - coded decimal (bcd) format. corrections for day of month and leap year are made automatically. applications remote systems battery - backed systems telecom switches office equipment consumer electronics pin configurations and typical operating circuit appear at end of data sheet. features ? bcd - coded century, year, month, date, day, hours, minutes, and seconds with automatic leap - year compensation valid up to the year 2100 ? programmable watchdog timer and rtc alarm ? century register ; y2k - compliant rtc ? +3.3 (w) or +5v (y) operation ? precision power - on reset ? power - control circuitry support system power - on from date/day/time alarm or key closure/modem- detect signal ? 256 bytes battery - backed sram ? auxiliary battery input ? accuracy of ds1511 better than 1 minute/month at +25c ? day -of- week/date alarm register ? crystal select bit allow rtc to operate with 6pf or 12.6pf crystal (ds1501) ? battery voltage - level indicator flags ? available as chip (ds1501) or stand -alone encapsulated dip module with em bedded battery and crystal (ds1511) ? underwriters laboratories (ul) recognized ordering information part voltage (v) temp range pin - package top mark* ds1501 we+ 3.3 0 c to +70 c 28 tsop ds1501we ds1501wen+ 3.3 - 40 c to +85 c 28 tsop ds1501wen ds1501wen+t&r 3.3 - 40 c to +85 c 28 tsop ds1501wen ds1501we+t&r 3.3 0 c to +70 c 28 tsop ds1501we + denotes a lead(pb)-free/rohs-compliant package. * a + anywhere on the top mark denotes a lead(pb)-free device. an n or ind denotes an industrial tem perature device. t&r = tape and reel. ordering information continued at end of data sheet . ds1501/ds1511 y2k- compliant watchdog real - time clocks downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 2 of 22 absolute maximum rat ings voltage range on any pin relative to ground .......- 0.5v to +6 .0v operating temperature range ds1501 ..- 40c to +85c (note 1) ds1511.... 0c to +70c storage temperature range ds1501 ... ... - 55c to +125c ds1511... .. - 40c to +70c lead temperature ( soldering, 10 seconds )..... ... .... +260c note: edip is hand or wave - soldered only. (note 2) soldering temperature ( reflow, so or tsop) .... ................................................... ..................+260 c stresses beyond those listed under absolute maximum ratings may cause permanent damage to the dev ice. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in th e operational sections of the specificat ions is not implied. exposure to the absolute maximum rating conditions for extended periods may affect devi ce reliability. recom mended dc operating conditions ( ds1511: v cc = 3.3v or 5v 10%, t a = 0c to +70c; ds1501: v cc = 3.3v or 5v 10%, t a = - 40c to +85c.) parameter symbol conditions min typ max units power supply voltage (note 3) v cc 5v (y) 4.5 5.0 5.5 v 3.3v (w) 3.0 3.3 3.6 logic 1 voltage all inputs (note 3) v ih y 2.2 v cc + 0.3 v w 2.0 v cc + 0.3 pullup voltage, irq , pwr , and rst outputs (note 3) v pu 5.5 v logic 0 voltage all inputs (note 3) v il y - 0.3 +0.8 v w - 0.3 +0.6 battery voltage (note 3) v bat 2.5 3.0 3.7 v auxiliary battery voltage (note 3) v baux y 2.5 3.0 5.3 v w 2.5 3.0 3.7 dc electrical charac teristics ( ds1511: v cc = 3.3v or 5v 10%, t a = 0c to +70c; ds1501: v cc = 3.3v or 5v 10%, t a = - 40c to +85c.) parameter symbol co nditions min typ max units active supply current (note 4) i cc y 15 ma w 10 ttl standby current ( ce = v ih ) i cc1 y 5 ma w 4 cmos standby current ( ce = v cc - 0.2v) i cc2 y 5 ma w 4 input leakage current (any input) i il -1 +1 a output leakage current (any output) i ol -1 +1 a output logic 1 voltage (i out = - 1.0ma) v oh (note 3) 2.4 v output logic 0 voltage (i out = 2.1ma, dq0 C 7; i out = 5.0ma, irq , i out = 7.0ma, pwr and rst ) v ol1 (note 3) 0.4 v v ol2 (notes 3, 5) 0.4 v battery low, flag trip point (note 2) v blf y 2.0 v w 1.9 power - fail voltage (note 2) v pf y 4.20 4.50 v w 2.75 2.97 downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 3 of 22 parameter symbol co nditions min typ max units battery switchover voltage (notes 3, 6) v so v bat, v baux, or v pf v battery leakage current i lkg 100 na dc electrical character istics ( ds1511: v cc = 0v; t a = 0c to +70c; ds1501: v cc = 0v, t a = - 40c to +85c.) parameter symbol conditions min typ max units battery current, bb32 = 0, eosc = 0 i bat1 (note 7) 0.27 1.0 a battery current, bb32 = 0, eosc = 1 i bat2 (note 7) 0.01 0.1 a v baux current bb32 = 1, sqw open i baux (note 7) 2 a crystal specificatio ns* parameter symbol conditions min typ max units nominal frequency f o 32.768 khz series resistance esr 45 k ? load capacitance c l 6/12.5 pf *the crystal, traces, and crystal input pins should be isolated from rf generating signals. refer to application note 58: crystal considerations for dallas real-time clocks for additional specifications. ac operating charact eristics ( ds1511: v cc = 5v 10%, t a = 0c to +70c; ds1501: v cc = 5v 10%, t a = - 40c to +85c.) parameter symbol conditions min typ max units read cycle time t rc 70 ns address access time t aa 70 ns ce to dq low -z t cel (note 8) 5 ns ce access time t cea 70 ns ce data - off time t cez (note 8) 25 ns oe to dq low - z (0c to +85c) t oel (note 8) 5 ns oe to dq low - z ( - 40c to 0c) t oel (note 8) 2 ns oe access time t oea 35 ns oe data - off time t oez (note 8) 25 ns output hold from address t oh 5 ns write cycle time t wc 70 ns address setup time t as 0 ns we pulse width t wew 50 ns ce pulse width t cew 55 ns data setup time t ds 30 ns data hold time t dh 5 ns address hold time t ah 0 ns we data - off time t wez (note 8) 25 ns write recovery time t wr 15 ns pulse width, oe , we , or ce high pw high 20 ns pulse width, oe , we , or ce low pw low 70 ns downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 4 of 22 ac operating charact eristics ( ds1511: v cc = 3.3v 10% , t a = 0c to +70c; ds1501: v cc = 3.3v 10% , t a = - 40c to +85c.) parameter symbol conditions min typ max units read cycle time t rc 120 ns address access time t aa 120 ns ce to dq low -z t cel (note 8) 5 ns ce acces s time t cea 120 ns ce data off time t cez (note 8) 40 ns oe to dq low - z (0c to +85c) t oel (note 8) 5 ns oe to dq low - z ( - 40c to 0c) t oel (note 8) 2 ns oe access time t oea 100 ns oe data - off time t oez (note 8) 35 ns output hold from address t oh 5 ns write cycle time t wc 120 ns address setup time t as 0 ns we pulse width t wew 100 ns ce pulse width t cew 110 ns data setup time t ds 80 ns data hold time t dh 5 ns address hold time t ah 5 ns we data - off time t wez (note 8) 40 ns write recovery time t wr 15 ns pulse width, oe , we , or ce high pw high 40 ns pulse width, oe , we , or ce low pw low 100 ns figure 1 . read cycle timing t rc t cea t oea t cel t oel t oh t oez t aa valid dq0 - dq7 oe ce a0 C a4 t cez downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 5 of 22 figure 2 . write cycle timing, write - enable controlled figure 3 . write cycle timing, chip - enable controlled t wc t ah t ds t as t wez t dh t wr t as data input dq0 C dq7 we ce a0 C a4 data output data input t wew valid valid t wc t ah t ds t as t dh t wr t as data input dq0-dq7 we ce a0-a4 data input t cew valid valid downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 6 of 22 figure 4 . burst mode timing waveform a0Ca4 dq0 C dq7 oe , we , or ce 13h pw high pw low power - up/down characteristics parameter symbol conditions min typ max units ce or we at v ih before power - fail t pf 0 s v cc fall time: v pf(max) to v pf(min) t f 300 s v cc fall time: v pf(min) to v so t fb 10 s v cc rise time: v pf(min) to v pf(max) t r 0 s v pf to rst high t rec 35 200 ms (t a = +25c) parameter symbol conditions min typ max units expected data - retention time (oscillator on) t dr (note 9) 10 years capacitance (t a = +25c) parameter symbol conditions min typ max uni ts capacitance on all input pins c in 10 pf capacitance on irq , pwr , rst , and dq pins c io 10 pf ac test conditions output load input pulse levels timing measurement reference levels input pulse rise and fall times (y) 50pf + 1ttl gate 0v to 3.0v for 5v operation input: 1.5v 5ns (w) 25pf + 1 ttl gate output: 1.5v oe , we , or ce downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 7 of 22 figure 5 . 3.3v power - up/down waveform timing figure 6 . 5v power - up/down waveform timing w arning: under no circumstances are negative undershoots, of any amplitude, allowed when device is in battery - backup mode. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 8 of 22 wakeup/kickstart tim ing (t a = +25c) ( figure 7) parameter symbol conditions min typ max units kickstart - inp ut pulse width t kspw 2 s wakeup/kickstart power - on timeout t poto (note 10) 2 s note: time intervals shown above are referenced in wakeup/kickstart. figure 7 . wakeup/kickstart timing diagram t kspw t poto v cc condition: v pf v bat < v pf v bat 0v v bat v pf 0v v cc condition: v bat v pf > tdf/ksf (internal) v il v ih hi-z ____ irq v il v ih hi-z ____ pwr v ih v il ___ks 1 2 3 4 5 intervals note 1: limits at -40c are not production tested and are guaranteed by design. note 2: rtc modules can be successfully processed through conventional wave-soldering techniques as long as temperature exposure to the lithium energy source contained within does not exceed +85c. post-solder cleaning with water-washin g techniques is acceptable, provided that ultrasonic vibration is not used to prevent damage to the crystal. note 3: voltage referenced to ground. note 4: outputs are open. note 5: the irq , pwr , and rst outputs are open drain. note 6: if v pf is less than v bat and v baux , the device power is switched from v cc to the greater of v bat or v baux when v cc drops below v pf . if v pf is greater than v bat and v baux , the device power is switched from v cc to the greater of v bat or v baux when v cc drops below the greater of v bat or v baux . note 7: v bat or v baux current. using a 32,768hz crystal connected to x1 and x2. note 8: these parameters are sampled with a 5pf load and are not 100% tested. note 9: t dr is the amount of time that the internal battery can power the internal oscillator and internal registe rs of the ds1511. note 10: if the oscillator is not enabled, the startup time of the oscillator after v cc1 is applied will be added to the wakeup/kic kst art timeout. note 11: typical values are at +25c, nominal (active) supply, unless otherwise noted. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 9 of 22 pin description pin name function so edip tsop 1 1 8 pwr active- low power - on output (open drain). this output, if used, is normally connected to p ower - supply control circuitry. this pin requires a pullup resistor connected to a positive supply to operate correctly. 2, 3 9, 10 x1, x2 connections for standard 32.768khz quartz crystal. for greatest accuracy, the ds1501 must be used with a crystal that has a specified load capacitance of either 6pf or 12.5pf. the crystal select (cs) bit in control register b is used to select operation with a 6pf or 12.5pf crystal. the crystal is attached directly to the x1 and x2 pins. there is no need for external capacitors or resistors. an external 32.768khz oscillator can also drive the ds1501. in this configuration, the x1 pin is connected to the external oscillator signal and the x2 pin is floated. for more information about crystal selection and crystal layout considerations, refer to application note 5 8: crystal considerations with dallas real - time clocks . see figure 9 . an enable bit in the month register controls the oscillator. oscillator startup time is highly dependent upon crystal characteristics, pc board leakage, and layout. high esr and excessive capacitive loads are the major contributors to long startup times. a circuit using a crystal w ith the recommended characteristics and proper layout usually starts within one second. 4 4 11 rst active- low reset output. (open drain). this output, if used, is normally connected to a microprocessor - reset input. this pin requires a pull up resistor connected to a positive supply to operate correctly. when rst is active, the device is not accessible. 5 5 12 irq active- low interrupt output (open drain). this output, if used, is normally connected to a microprocessor interrupt input. this pin requires a pullup resistor connected to a positive supply to operate correctly. 6C10 6C10 13C17 a4 C a0 address inputs. selects one of 17 register locations. 11C13, 15C19 11C13, 15C19 18C20, 22C26 dq0 C dq7 data input/output. i/o pins for 8 - bit parallel data transfer. 14, 21 14 21, 28 gnd ground. dc power is applied to the device on these pins. v cc is the positive terminal. when power is applied within the normal limits, the device is fully accessible and data can be written and read. when v cc drops below the normal limits, reads and writes are inhibited. as v cc drops below the battery voltage, the ram and timekeeping circuits are switched over to the battery. 22 22 1 oe output- enable input. active - low input that enables dq0 C dq7 for data output from the dev ice. 20 20 27 ce chip - enable input. active - low input to enable the device. 23 23 2 sqw square- wave output. when enabled, the sqw pin outputs a 32.768khz square wave. if the square wave ( e32k ) and battery backup 32khz (bb32) bits are enabled, power is provided by v baux when v cc is absent. 24 24 3 ks active- low kickstart input. this pin is used to wake up a system from an external event, such as a key closure. the ks pin is normally connected using a pullup resistor to v baux . if the ks function i s not used, connect to ground. 25 4 v bat battery input for any standard 3v lithium cell or other energy source. batter y voltage must be held between 2.5v and 3.7v for proper operation. ul recognized to ensure against reverse charging current when used with a lithium battery. www.maximintegrated.com/techsupport/qa/ntrl.htm if not used, connect to ground. 26 26 5 v baux auxiliary battery input for any standard 3v lithium cell or other energy s ource. battery voltage must be held between 2.5v and 3.7v for proper operation. ul recognized to ensure against reverse charging current when used with a lithium battery , www.maximintegrated.com/techsupport/qa/ntrl.htm . if not used, connect to ground. 27 27 6 we write - enable input. active - low input that enables dq0 C dq7 for d ata input to the device. 28 28 7 v cc dc power. v cc is the positive terminal. when power is applied within the normal limits, the device is fully accessible and data can be written and read. when v cc drops below the normal limits, reads and writes are inhibited. as v cc drops below the battery voltage, the ram and timekeeping circuits are switched over to the battery. 2, 3, 21, 25 n.c. no connect downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 10 of 22 figure 8 . block diagram figure 9 . typical crystal layout crystal x1 x2 gnd local ground plane (layer 2) rst pwr 256 x 8 nv sram power control write protection, and power - on reset 16 x 8 clock and control registers v bat v bat v baux gnd ks a0 C a4 dq0 C dq7 ce we oe x1 x2 32.768khz clock oscillator irq sqw clock alarm a nd watchdog countdown ds1501/ds1511 downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 11 of 22 detailed description the ds1501/ds1511 rtc is a low - power clock/date device with a programmable day of week/date alarm. the ds1501/ds1511 is accessed through a parallel interface. the clock/date provides seconds, minutes, hours, day, date, month, and year information. the date at the end of the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year. the rtc registers are double buffered into an internal and external set. the user has direct access to the external set. clock/calendar updates to the external set of registers can be disabled and enabled to allow the user to access static data. when the crystal oscillator is turned on, the internal set of registers are continuously updated; this occurs regardless of external register settings to guarantee that accurate rtc information is always maintained. the ds1501/ds1511 contain their own power - fail circuitry that automatically deselects the device when the v cc supply falls below a power - fail trip point. this feature provides a high degree of data security during unpr edictable system operation caused by low v cc levels. the ds1501/ds1511 have interrupt ( irq ), power control ( pwr ), and reset ( rst ) outputs that can be used to control cpu activity. the irq interrupt or rst outputs can be invoked as the result of a time - of - day alarm, cpu watchdog alarm, or a kickstart signal. the ds1501/ds1511 power - control circuitry allow the system to be powere d on by an external stimulus, such as a keyboard or by a time and date (w akeup) alarm. the pwr output pin can be triggered by one or either of these events, and can be used to turn on an external power supply. the pwr pin is under softwar e control, so that when a task is complete, the system power can then be shut down. the ds1501/ds1511 power - on reset can be used to detect a system power - down or failure and hold the cpu in a safe reset state until normal power returns and stabilizes; the rst output is used for this function. the ds1501/ds1511 are clock/calendar chips with the features described above. an external crystal and battery are the only components required to maintain time - of - day and memory status in the absence of power. table 1 . rtc operating modes v cc ce oe we dq0 C dq7 a0 C a4 mode power in tolerance v ih x x high -z x deselect standby v il x v il d in a in write active v il v il v ih d out a in read active v il v ih v ih high -z a in read active v so < v cc < v pf x x x high -z x deselect cmos standby v cc < v so < v pf x x x high -z x data retention battery current data read mode the ds1501/ds1511 are in read mode whenever ce (chip enable) and oe (output enable) are low and we (write en able) is high. the device architecture allows ripple - through access to any valid address location. valid data is available at the dq pins within t aa (address access) after the last address input is stable, provided that ce and oe access times are satisfied. if ce or oe access times are not met, valid data is available at the latter of c hip - enable access (t csa ) or at output - enable access time (t oea ). the state of the data input/output pins (dq) is controlled by ce and oe . if the outputs are activated before t aa , the data lines are driven to an intermediate state until t aa . if the address inputs are changed while ce and oe remain valid, output data remains valid for output - data hold time (t oh ) but then goes indeterminate until the next address access ( table 1 ). data write mode the ds1501/ds1511 are in write mode whenever ce and we are in their active state. the start of a write is referenced to the latter occurring transition of ce or we . the addresses must be held valid throughout the cycle. ce or we must return inactive for a minimum of t wr prior to the initiation of a subsequent read or write cycle. data in must be valid t ds prior to the end of the write and remain valid for t dh afterward. in a typical application, the oe signal is high during a write cycle. however, oe can be active provided that care is taken with the data bus to avoid bus contention. if oe is low prio r to a high - to - low transition on we , the data bus can become active with read data defined by the address inputs. a low transition on we then disables the outputs t wez after we goes active ( table 1 ). downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 12 of 22 data retention mode the ds1501/ds1511 are fully accessible, and data can be written and read only when v cc is greater than v pf . however, when v cc falls below the power - fail point v pf (point at which write protection occurs) the internal clock registers and sram are b locked from any access. while in the data retention mode, all inputs are dont cares and outputs go to a high - z state , with the possible exception of ks , pwr , sqw, and rst . if v pf is less than v bat and v baux , the device power is switc hed from v cc to the greater of v bat and v baux when v cc drops below v pf . if v pf is greater than v bat and v baux , the device power is switched from v cc to the larger of v bat and v baux when v cc drops below the larger of v bat and v baux . rtc operation and sram data are maintained from the battery until v cc is returned to nominal levels ( table 1 ). if the square - wave and battery - backup 32khz functions are enabled, v baux always provides power for the square - wave output, when the device is in battery - backup mode. auxiliary battery the v baux input is provided to supply power from an auxiliary battery for the ds1501/ds1511 kickstart and square - wave output features in the absence of v cc . this power source must be available to use these auxiliary features when v cc is not applied to the device. this auxiliary battery can be used as the primary backup power source for mai ntaining the clock/calendar and external user ram. this occurs if the v bat pin is at a lower voltage than v baux . if the ds1501/ds 1511 are to be backed up using a single battery with the auxiliary features enabled, then v baux should be used and v bat should be grounded (ds1501). if v baux is not to be used, it must be grounded. oscillator control b it when the ds1511 is shipped from the factory, the internal oscillator is turned off. this feature prevents the lithium energy cell from being used until it is installed in a system. the oscillator is automatically enabled when power is first applied. power - on reset a temperature - compensate d comparator circuit monitors the level of v cc . when v cc falls to the power - fail trip point, the rst signal (open drain) is pulled low. when v cc returns to nominal levels, the rst signal continues to be pulled low for a period of t rec . th e power - on reset function is independent of the rtc oscillator and therefore operational whether or not the oscillator is enabled. time and date operat ion the time and date information is obtained by reading the appropriate register bytes. table 2 shows the rtc registers. the time and date are set or initialized by writing the appropriat e register bytes. the contents of the time and date registers are in bcd format. hours are in 24 - hour mode. the day - of - week register increments at midnight. values that correspond to the day of week are user defined but must be sequential (i.e., if 1 equals sunday, then 2 equals monday, and so on). illogical time and date entries result in undef ined operation. reading the clock when reading the clock and calendar data, it is possible to access the regis ters while an update (once per second) occurs. there are three ways to avoid using invalid time and date data. the first method uses the transfer enable (te) bit in the control b regi ster. transfers are halted when a 0 is written to the te bit. setting te to 0 halts updates to the user - accessible registers, while allowing the internal registers to advance. after the registers are read, the te bit should be written to 1. te must be kept at 1 for at leas t 366 s to ensure a user register update. the time and date registers can be read and stored in temporary variables. t he time and date registers are then read again, and compared to the first values. if the values do not match, the time and date registers should be read a third time and compared to the previous values. this should be done until two cons ecutive reads of the time and date registers match. the te bit should always be enabled when using this method for reading the time and date,. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 13 of 22 the third method of reading the time and date uses the alarm function. the alarm can be c onfigured to activate once per second, and the time - of - day alarm - interrupt enable bit (tie) is enabled. the te bit should always be enabled. when the irq pin goes active, the time and date information does not change until the next update. setting the clock it is recommended to halt updates to the external set of double - buffered rtc registers when writing to the clock. the (te) bit should be used as described above before loading the rtc registers with the desired rtc count (day, date, and time) in 24 - hour bcd format. setting the te bit to 1 transfers the new values writt en to the internal rtc registers and allows normal operation to resume. clock accuracy the accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the mat ch between the capacitive load of the oscillator circuit and the capacitive load f or which the crystal was trimmed. additional error is added by crystal frequency drift caused by temperature shifts. external circuit noise coupled into the oscillator circuit can result in the clock running fast. a standard 32.768khz quartz crystal should be directly connected to the ds1501 x1 and x2 oscillator pins. the crystal selected for use should have a specified load capacitance (c l ) of either 6pf or 12.5pf, and the cs bit set accordingly. an external 32.768khz oscillator can also drive the ds1501. when usi ng an external oscillator the x2 pin must be left open. the ds1511 contains an embedded crystal and is factory trimmed to be better than 1 min/month at +25 c. refer to application note 58: crystal considerations for dallas real - time clocks for detailed informat ion. table 2 . register map address data function bcd range b7 b6 b5 b4 b3 b2 b1 b0 00h 0 10 seconds seconds seconds 00 C 59 01 h 0 10 minutes minutes minutes 00 C 59 02 h 0 0 10 hours hour hours 00 C 23 03 h 0 0 0 0 0 day day 1C7 04 h 0 0 10 date date date 01 C 31 05 h eosc e32k bb32 10 month month month 01 C 12 06 h 10 year year year 00 C 99 07 h 10 century century century 00 C 39 08 h am1 10 seconds seconds alarm seconds 00 C 59 09 h am2 10 minutes minutes alarm minutes 00 C 59 0a h am3 0 10 hours hour alarm hours 00 C 23 0b h am4 dy / dt 10 date day/date alarm day/date 1C 7/1 C 31 0c h 0.1 second 0.01 second watchdog 00 C 99 0d h 10 second second watchdog 00 C 99 0e h blf1 blf2 prs pab tdf ksf wdf irqf control a 0f h te cs bme tpe tie kie wde wds control b 10 h extended ram address ram address 00 C ff 11 h reserved 12 h reserved 13 h extended ram data ram data 00 C ff 14 h- 1f h reserved note: 0 = 0 and are read only. power - up default states these bits are set upon power - up: eosc = 0, e32k = 0, tie = 0, kie = 0, wde = 0, and wds = 0. unless otherwise specified, the state of the control/rtc/sram bits in the ds 1501/ds1511 is not defined upon initial power application; the ds1501/ds1511 should be properly configured/defined during initial c onfiguration. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 14 of 22 using the clock alar m the alarm settings and control reside within registers 08h to 0bh (table 2 ). the tie bit and alarm mask bits am1 to am4 must be set as described below for the irq or pwr outputs to be activated for a matched alarm condition. the alarm functions as long as at least one supply is at a valid level. note that activating the pwr pin requires the use of v baux . the alarm can be programmed to activate on a specific day of the month, day of the week, or repeat every day, hour, minute, or second. it can also be programmed to go off while the ds150 1/ds1511 are in the battery - backed state of operation to serve as a system wakeup. alarm mask bits am1 t o am4 control the alarm mode. tabl e 3 shows the possible settings. configurations not listed in the table default to the once - per - second mode to notify the user of an incorrect alarm setting. when the rtc register values match alar m register settings, the time - of - day/date alarm flag tdf bit is set to 1. once the tdf flag is set, the tie bit enables the alarm to activate the irq pin. the tpe bit enables the alarm flag to activate the pwr pin. note that te must be enabled when a match occurs for the flags to be set. table 3 . alarm mask bits dy/ dt am4 am3 am2 am1 alarm rate x 1 1 1 1 once per second x 1 1 1 0 when seconds match x 1 1 0 0 when minutes and seconds match x 1 0 0 0 when hours, minutes, and seconds match 0 0 0 0 0 when date, hours, minutes, and seconds match 1 0 0 0 0 when day, hours, minutes, and seconds match control registers the ds1501/ds1511 controls and status information for the features are maintained i n the following register bits. month register (05h) bit 7 bit 6 bit 5 b it 4 bit 3 bit 2 bit 1 bit 0 eosc e32k bb32 10 month month eosc , oscillator start/stop bit (05h bit 7) this bit when set to logic 0 starts the oscillator. when this bit is set to logic 1, the oscillator is stopped. this bit is automatically set to logic 0 by the internal power - on reset when power is applied and v cc rises above the power - fail voltage. e32k , enable 32.768khz output (05h bit 6) this bit, when written to 0, enables the 32.768 khz oscillator frequency to be output on the sqw pin if the oscillator is running. this bit is automatically set to logic 0 by the internal power - on reset when power is applied and v cc rises above the power - fail voltage. bb32, battery backup 32khz enable bit (05h bit 5) when the bb32 bit is written to 1, it enables a 32khz signal to be output on the sqw pin while the part is in battery - backup mode, if voltage is applied to v baux. am1 to am4, alarm mask bits ( 08h bit 7; 09h bit 7; 0ah bit 7; 0bh bit 7) bit 7 of registers 08h to 0bh contains an alarm mask bit, am1 to am4. t hese bits, in conjunction with the tie described later, allow the irq output to be activated for a matched - alarm condition. the alarm can be programmed to activate on a specific day of the month, day of the week, or repeat every day, hour, minute, or second. table 3 shows the possible settings for am1 to am4 and the resulting alarm r ates. configurations not listed in the table default to the once - per - second mode to notify the user of an incorrect alarm setting. dy/ dt , day/ date bit ( 0bh bit 6) the dy/ dt bit controls whether the alarm value stored in bits 0 to 5 of 0bh reflects the day of the week or the date of the month. if dy/ dt is written to a 0, the alarm is the result of a match with the date of t he mont h. if dy/ dt is written to a 1, the alarm is the result of a match with the day of the week. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 15 of 22 control a register (0eh) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 blf1 blf2 prs pab tdf ksf wdf irqf blf1, valid ram and time bit 1 (0eh bit 7); blf2 , valid ram and time bit 2 (0eh bit 6) these status bits give the condition of any batteries attached to the v bat or v baux pins. t he ds1501/ds1511 constantly monitor the battery voltage of the backup - battery sources (v bat and v baux ). the blf1 and blf2 bits are set to 1 if the battery voltages on v bat and v baux are less than v blf (typ), otherwise blf1 and blf2 bits are 0. blf1 reflects the condition of v bat with blf2 reflecting v baux . if either bit is read as 1, the voltage on the respective pin is inadequate to maintain the ram memory or clock functions. these bits are read only. prs, reset select bit (0eh bit 5) when set to 0, the pwr pin is set high - z when the ds150 1 /ds1511 go into power - fail. when set to 1, the pwr pin remains active upon entering power - fail. pab, power active - bar control bit (0eh bit 4) when this bit is 0, the pwr pin is in the active - low state. when this bit is 1, the pwr pin is in the high - impedance state. the user can write this bit to 1 or 0. if either tdf and tpe = 1 or ksf = 1, the pab bit is cleared to 0. this bit can be read or written. tdf, time - of - day/date alarm flag (0eh bit 3) a 1 in the tdf bit indicates that the current time has matched the al arm time. if the tie bit is also 1, the irq pin goes low and a 1 appears in the irqf bit. this bit is cleared by reading the register or writing it to 0. ksf, kickstart flag (0eh bit 2) this bit is set to a 1 when a kickstart condition occurs or when the u ser writes it to 1. if the kie bit is also 1, the irq pin goes low and a 1 appears in the irqf bit. this bit is cleared by reading the register or writing it to 0. wdf, watchdog flag (0eh bit 1) if the processor does not access the ds1501/ds1511 with a write within the period specified in addresses 0ch and 0dh , the wdf bit is set to 1. wdf is cleared by writing it to 0. irqf, interrupt request flag (0eh bit 0) the interrupt request flag (irqf) bit is set to 1 when one or more of the f ollowing are true: tdf = tie = 1 ksf = kie = 1 wdf = wde = 1 i.e., irqf = (tdf x tie) + (ksf x kie) + (wdf x wde) any time the irqf bit is 1, the irq pin is driven low. clearing irq and flags the time - of - day/date alarm flag (tdf), watchdog flag (wdf), kickstart flag (ksf) , and interrupt request flag (irqf) are cleared by reading the flag register ( 0eh ). the address must be stable for a minimum of 15ns while ce and oe are active. after the address stable requirement has been met, either a change i n address, a rising edge of oe , or a rising edge of ce causes the flags to be cleared. the irq pin goes inactive after the irqf flag is cleared. tdf and wdf can also be cleared by writing to 0. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 16 of 22 control b register (0fh) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bi t 1 bit 0 te cs bme tpe tie kie wde wds te, transfer enable bit (0fh bit 7) when the te bit is 1, the update transfer functions normally by advancing t he counts once per second. when the te bit is written to 0, any update transfer is inhibited and the program ca n initialize the time and calendar bytes without an update occurring in the midst of initializing. read cycles can be exec uted in a similar manner. te is a read/write bit that is not modified by internal functions of the ds1501/ds1511. cs, crystal select bit (0fh bit 6) when cs is set to 0, the oscillator is configured for operation with a crystal that has a 6pf specified load capacitance. when cs = 1, the oscillator is configured for a 12.5pf cr ystal. cs is disabled in the ds1511 module and should be set to cs = 0. bme, burst - mode enable bit (0fh bit 5) the burst - mode enable bit allows the extended user ram address registers to automatical ly increment for consecutive reads and writes. when bme is set to 1, the automatic incr ementing is enabled; when bme is set to 0, the automatic incrementing is disabled. tpe, time -of- day/date alarm power - enable bit (0fh bit 4) the wakeup feature is controlled through the tpe bit. when the tdf flag bi t is set to 1, if tpe is 1, the pwr pin is driven active. therefore, setting tpe to 1 enables the wakeup feature. writi ng a 0 to tpe disables the wakeup feature. tie, time -of- day/date alarm interrupt - enable bit (0fh bit 3) the tie bit allows the tdf flag to assert an interrupt. when the tdf fl ag bit is set to 1, if tie is 1, the irqf flag bit is set to 1. writing a 0 to the tie bit prevents the tdf flag from set ting the irqf flag. this bit is automatically cleared to logic 0 by the internal power - on reset when power is applied and v cc rises above the power - fail voltag e. kie, kickstart enable - interrupt bit (0fh bit 2) the kie bit allows the ksf flag to assert an interrupt. when the ksf flag bi t is set to 1, if kie is a 1, the irqf flag bit is set to 1. writing a 0 to the kie bit prevents the ksf flag from setting the i rqf flag. this bit is automatically cleared to logic 0 by the internal power - on reset when power is applied and v cc rises above the power - fail voltage. wde, watchdog enable bit (0fh bit 1) when wde is set to 1, the watchdog function is enabled, and either the irq or rst pin is pulled active, based on the state of the wds and wdf bits. this bit is automatically cleared to logic 0 to by the internal power - on reset when power is applied and v cc rises above the power - fail voltage. wds, watch dog steering bit (0fh bit 0) if wds is 0 when the watchdog flag bit wdf is set to 1, the irq pin is pulled low. if wds is 1 when wdf is set to 1 , the watchdog outputs a negative pulse on the rst output. the wde bit resets to 0 immediately after rst goes active. this bit is automatically cleared to logic 0 to by the internal power - on reset when power is applied and v cc rises above the power - fail voltage. clock oscillator con trol the clock oscillator can be stopped at any time. to increase the shelf lif e of a backup lithium - battery source, the oscillator can be turned off to minimize current drain from the battery. the eosc bit is used to control the state of the oscillator, and must be set to 0 for the oscillator to function . using the watchdog t imer the watchdog timer can be used to restart an out - of - control processor. the watchdog timer is user programmable in 10ms intervals ranging from 0.01 seconds to 99.99 seconds. the user programs the watchdog timer by writing the tim eout value into the two bcd watchdog registers (0ch and 0dh). the watchdog reloads and restarts whenever the watchdog times out. writing the timer will re l oad and restart the timer. the timer runs while the downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 17 of 22 device is powered by either v cc , v bat , or v baux . if either watchdog register is nonzero, a timeout sets the wdf bit to 1, regardless of the state of the watchdog enable (wde) bit, to serve as an indication to the processor that a watchdog timeout has occurred. the watchdog timer operates in two modes, repetit ive and single - shot. if wde is 1 and the watchdog steering bit (wds) is 0, the watchdog is in repetitive mode. when the watchdog times out, both wdf and irqf are set. irq goes active and irqf goes to 1. the watchdog timer is reloaded when th e processor performs a write of the watchdog registers and the timeout per iod restarts. reading control a register clears irqf . if wde and wds are 1, the watchdog is in single - shot mode. when the watchdog times out, rst goes active for a period of 40ms to 200ms. when rst goes inactive, wde resets to 0. writing a value of 00h to both watchdog registers disables the watchdog timer. the watchdog function is autom atically disabled upon power - up by the power - on reset setting wde = 0 and wds = 0. the watchdog registers are not initialized at power - up and should be initialized by the user. note: the te bit must be used to disable transfers when writing to the watchdog regi sters. the following summarizes the configurations in which the watchdog can be used: wde = 0 and wds = 0: wdf is set. wde = 0 and wds = 1: wdf is set. wde = 1 and wds = 0: wdf and irqf are set, and the irq pin is pulled low. wde = 1 and wds = 1: wdf is set, the rst pin pulses low, and wde resets to 0 . wakeup/kickstart the ds1501/ds1511 incorporate a wakeup feature, which powers on at a predet ermined day/date and time by activating the pwr output pin. additionally, the kickstart feature allows the system t o be powered up in response to a low - going transition on the ks pin, without operating voltage applied to the v cc pin. as a result, system power can be applied upon such events as key closure or a modem - ring - detect signal. to use either the wakeup or the kickstart features, the ds1501 / ds1511 must have an auxiliary battery connected to the v baux pin, and the oscillator must be running. the wakeup feature is controlled through the time - of - day/date power - enable bit (tpe). setting tpe to 1 enables the wakeup feature. transfers (te) must be enabled for a wake up event to occur. writing tpe to 0 disables the wakeup feature. the kickstart feature is always enabled as long as v baux is present. if the wakeup feature is enabled, while the system is powered down (no v cc voltage), the clock/calendar monitors the current day or date for a match condition with day/date alarm register (0bh) . with the day/date alarm register, the hours, minutes, and seconds alarm bytes in the clock/calendar register map (02h, 01h, and 00h) are also monitored. as a result, a wakeup occurs at the day or date and time specifi ed by the day/date, hours, minutes, and seconds alarm register values. this additional alarm occurs regardles s of the programming of the tie bit. when the match condition occurs, the pwr pin is automatically driven low. this output can turn on the main system pow er supply that provides v cc voltage to the ds1501/ds1511, as well as the other major components in the system . also at this time, the time - of - day/date alarm flag is set (tdf), indicating a wakeup condition has occurre d. if v baux is present, while v cc is low, the ks input pin is monitored for a low - going transition of minimum pulse width t kspw . when such a transition is detected, the pwr line is pulled low, as it is for a wakeup condition. also at this time, ksf is set, indicating that a kickstart condition has occur red. the ks input pin is always enabled and must not be allowed to float. the timing associated with the wakeup and kickstarting sequences is ill ustrated in figure 7. these functions are divided into five intervals, labeled 1 to 5 on the diagram. the occurrence of either a kickstart or wakeup condition causes the pwr pin to be driven low, as described above. during interval 1, if the supply voltage on the v cc pin rises above v so before the power - on timeout period (t poto ) expires, then pwr remains at the active - low level. if v cc does not rise above the v so in this time, then the pwr output pin is turned off and returns to its h igh - impedance level. in this event, the irq pin also remains three - state d. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 18 of 22 the interrupt flag bit (either tdf or ksf) associated with the attempt ed power - on sequence remains set until cleared by software during a subsequent system power -o n. if v cc is applied within the timeout period, the system power - on sequence continues, as shown in intervals 2 to 5 in the timing diagram. during interval 2, pwr remains active, and irq is driven to its active - low level, indicating that either tdf or ksf was set in initiating the power - on. in the diagram, ks is assumed to be pulled up to the v baux supply. also at this time, the pab bit is automatically cleared to 0 in response to a successful power - on. the pwr line remains active as long as the pab remains cleared to 0. at the beginning of interval 3, the system processor has begun code executio n and clears the interrupt condition of tdf and/or ksf by reading the flags register or by writing tdf and ksf to 0. as long as no other interrupt within the ds1501/ds1511 is pending, the irq line is taken inactive once these bits are reset, and execution of the application software can proceed. during this time, the wakeup and kickstart func tions can be used to generate st atus and interrupts. tdf is set in response to a day/date, hours, minutes, and seconds match condition. ksf is set in response to a low - going transition on ks . if the associated interrupt - enable bit is set (tde and/or kie), then the irq line is driven low in response to enabled event. in addition, the other possible i nterrupt sources within the ds1501/ds1511 can cause irq to be driven low. while system power is applied, the on - chip logic always attempts to drive the pwr pin active in response to the enabled kickstart or wakeup condition. this is true even if pwr was previously inactive as the result of power being applied by some means other t han wakeup or kickstart. the system can be powered down under software control by setting the pab bit t o 1. the pab bit can only be set to 1 after the tdf and ksf flags have been cleared to 0. setting pab to 1 c auses the open - drain pwr pin to be placed in a high - impedance state, as shown at the beginning of interval 4 in the timing diagram. as v cc voltage decays, the irq output pin is placed in a high - impedance state when v cc goes below v pf . if the system is to be again powered on in response to a wakeup or kickstart, then both the tdf and ksf flags should be cleared, an d tpe and/or kie should be enabled prior to setting the pab bit. during interval 5, the system is fully powered down. battery backup of the cloc k calendar and nv ram is in effect and irq is three - stated, and monitoring of wakeup and kickstart takes place. if prs = 1, pwr stays active; otherwise, if prs = 0, pwr is three - state d. square - wave output the square - wave output is enabled and disabled through the e32k bit. if the square wave is enabled ( e32k = 0) and the oscillator is running, then a 32.768khz square wave is output on the sq w pin. if the battery - backup 32khz - enable bit (bb32) is enabled, and voltage is applied to v baux , then the 32.768khz square wave is output on the sqw pin in the absence of v cc . battery monitor the ds1501/ds1511 constantly monitor the battery voltage of the backup - battery sources (v bat and v baux ). the battery low flags blf1 and blf2 are set to 1 if the battery voltages on v bat and v baux are less than v blf (typical); otherwi se, blf1 and blf2 are 0. blf1 monitors v bat and blf2 monitors v baux . 256 x 8 extended ram two on - chip latch registers control access to the sram. one register is us ed to hold the sram address; the other is used to hold read/write data. the sram address space is from 00h to f fh. the 8 - bit address of the ram location to be accessed must be loaded into the extended ram address register located at 10h. data in the addressed location can be read by performing a read operation from location 13h, or written to by performing a write operation to location 13h. data in any addressed location can be read or wri tten repeatedly with changing the address in location 10h. to read or write consecutive extended ram locations, a burst mode feature can be enabled to incremen t the extended ram address. to enable the burst mode feature, set the bme bit to 1. with bu rst mode enabled, write the extended ram starting address location to register 10h. then read or w rite the extended ram data from/to register 13h. the extended ram address locations are automatically incremented on t he rising edge of oe , ce , or we only when register 13h is being accessed ( figure 4 ). the address pointer wraps around after the last address is accessed. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 19 of 22 orderin g information ( continued ) part voltage (v) temp range pin - package top mark* ds1501wz+ 3.3 0 c to +70 c 28 so (0.300) ds1501 wz ds1501wzn+ 3.3 - 40 c to +85 c 28 so (0.300) ds1501wzn ds1501wzn+t&r 3.3 - 40 c to +85 c 28 so (0.300) ds1501wzn ds1501wz+t&r 3.3 0 c to +70 c 28 so (0.300) ds1501wz ds1501ye+ 5.0 0 c to +70 c 28 tsop ds1501ye ds1501yen+ 5.0 - 40 c to +85 c 28 tsop ds1501 yen ds1501yen+t&r 5.0 - 40 c to +85 c 28 tsop ds1501yen ds1501ye+t&r 5.0 0 c to +70 c 28 tsop ds1501ye DS1501YZ+ 5.0 0 c to +70 c 28 so (0.300) DS1501YZ DS1501YZn+ 5.0 - 40 c t o +85 c 28 so (0.300) DS1501YZn DS1501YZn+t&r 5.0 - 40 c to +85 c 28 so (0.300) DS1501YZn DS1501YZ+t&r 5.0 0 c to +70 c 28 so (0.300) DS1501YZ ds1511 w+ 3.3 0 c to +70 c 28 edip (0.720) ds1511w ds1511y+ 5.0 0 c to +70 c 28 edip (0 .720) ds1511y + denotes a lead(pb)-free/rohs-compliant package. * a + anywhere on the top mark denotes a lead(pb)-free package. an n or ind denotes an industrial te mperature device. t&r = tape and reel. downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 20 of 22 pin configurations edip n.c. n.c. a4 a3 a2 a1 a0 dq0 dq1 dq2 gnd pwr rst irq 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 sqw n.c. dq7 dq6 dq5 dq4 dq3 ce oe ks we v baux n.c. cc v ds1511 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 2 3 4 5 6 7 8 9 10 11 12 13 14 oe a3 sqw ks v baux v bat we v cc x1 x2 a4 irq rst pwr gnd dq6 dq5 dq4 dq3 dq2 dq1 dq0 a0 a1 a2 gnd dq7 ce tsop ds1501 top view ds1501 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 sqw gnd dq7 dq6 dq5 dq4 dq3 we ks oe ce v cc v baux v bat x1 x2 a4 a3 a2 a1 a0 dq0 dq1 dq2 gnd pwr rst irq so downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 21 of 22 typical operati ng circuits package information for the latest package outline information and land patterns (footprints), go to www.maximintegrated.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix ch aracter, but the drawing pertains to the package regardless of rohs status. package type package code outline number land pattern no. 28 so w28+3 21 - 0042 90 - 0109 28 tso p z28+4 21 - 0273 90 - 0319 28 edip mdp28+1 21 - 0241 ds1501 cpu v cc v cc v cc irq rst gnd x2 x1 v cc rpu crystal sqw v bat dq0 C dq7 rst we oe v baux ks pwr ce a0 C a4 irq gnd ds1511 cpu v cc v cc v cc irq rst gnd v cc rpu sqw dq0 C dq7 rst we oe v baux ks pwr ce a0 C a4 irq gnd downloaded from: http:///
ds1501/ds1511 y2kc wat chdog real - time clocks 22 of 22 maxim integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a max im integrated product. no circuit patent licenses are implied. maxim integrated reserves the right to change the circuitry and specifications without notice at any time. the parametric values ( min and max limits) shown in the electrical characteristics table are guaranteed. other parametric value s quoted in this data sheet are provided for guidance. maxim integrated 160 rio robles, san jose, ca 95134 usa 1 - 408 - 601 - 1000 ? 201 3 maxim integrated products, inc. maxim integrated and the maxim integrated logo are trade marks of maxim in tegrated products, inc. revision history revision date description pages c hanged 080508 removed the leaded parts from the ordering information table. 1, 19 updated the features section. 1 removed the redundant operating temperature range line from the absolute maximum ratings section. 2 moved the ul information link into the v bat and v baux pin descriptions in the pin description table. 9 added an overview to the detailed description section. 11 010909 replaced 330 - mil so package ordering and top mark information with 300 - mil so package information in the ordering inform ation table. 1, 19 updated the package information table. 21 10/13 update d the o rdering information table , soldering information in the absolute maximum ratings section, and p ackage i nformation table 1, 2, 19, 21 downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of DS1501YZ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X